package com.carbon.trade.controller;

import com.carbon.domain.common.ApiResult;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 简单的测试Controller，用于验证路径是否正确
 */
@Slf4j
@RestController
@RequestMapping("/simpleCarbonTradePrice")
public class SimpleCarbonTradePriceController {

    @GetMapping("/test")
    public ApiResult<String> test() {
        log.info("SimpleCarbonTradePriceController test method called");
        return ApiResult.ok("SimpleCarbonTradePriceController is working!");
    }
}
